class ZtOrderInfo {
  String? goodsCode;
  String? goodsName;
  String? orderNo;
  double? payAmount;
  double? paidAmount;
  String? paidCurrency;

  ZtOrderInfo(
      {this.goodsCode,
      this.goodsName,
      this.orderNo,
      this.payAmount,
      this.paidAmount,
      this.paidCurrency});

  ZtOrderInfo.fromJson(Map<String, dynamic> json) {
    goodsCode = json['goodsCode'];
    goodsName = json['goodsName'];
    orderNo = json['orderNo'];
    payAmount = json['payAmount'];
    paidAmount = json['paidAmount'];
    paidCurrency = json['paidCurrency'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['goodsCode'] = goodsCode;
    data['goodsName'] = goodsName;
    data['orderNo'] = orderNo;
    data['payAmount'] = payAmount;
    data['paidAmount'] = paidAmount;
    data['paidCurrency'] = paidCurrency;
    return data;
  }
}
